package com.flashcash.kotlin.data

import com.google.gson.annotations.SerializedName
import java.io.Serializable

data class ProductBean(@SerializedName("interestRate")
                       val interestRate: Double = 0.0,
                       @SerializedName("serviceFee")
                       val serviceFee: Double = 0.0,
                       @SerializedName("minAmount")
                       val minAmount: Double = 0.0,
                       @SerializedName("gracePeriodDays")
                       val gracePeriodDays: Int = 0,
                       @SerializedName("periodStep")
                       val periodStep: Int = 0,
                       @SerializedName("minPeriod")
                       val minPeriod: Int = 0,
                       @SerializedName("description")
                       val description: String = "",
                       @SerializedName("updateTime")
                       val updateTime: String = "",
                       @SerializedName("minRepaymentAmount")
                       val minRepaymentAmount: Double = 0.0,
                       @SerializedName("maxPeriod")
                       val maxPeriod: Int = 0,
                       @SerializedName("periodUnit")
                       val periodUnit: String = "",
                       @SerializedName("gracePeriodRate")
                       val gracePeriodRate: Double = 0.0,
                       @SerializedName("amountStep")
                       val amountStep: Double = 0.0,
                       @SerializedName("overdueRate")
                       val overdueRate: Double = 0.0,
                       @SerializedName("createTime")
                       val createTime: String = "",
                       @SerializedName("name")
                       val name: String = "",
                       @SerializedName("id")
                       val id: Long = 0L,
                       @SerializedName("maxAmount")
                       val maxAmount: Double = 0.0,
                       @SerializedName("withholdMethod")
                       val withholdMethod: String = "",
                       @SerializedName("choose")
                       val choose: Boolean = true) : Serializable